package io.renren.modules.substation.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.substation.entity.TInfoEfencePointEntity;

import java.util.List;
import java.util.Map;

/**
 * 围柱坐标表
 *
 * @author yzx
 * @email sunlightcs@gmail.com
 * @date 2020-07-16 01:02:14
 */
public interface TInfoEfencePointService extends IService<TInfoEfencePointEntity> {

    PageUtils queryPage(Map<String, Object> params);
    List<TInfoEfencePointEntity> getByDevCode(String devCode);
    TInfoEfencePointEntity getByPostCodeAndDevCode(TInfoEfencePointEntity tInfoEfencePointEntity);
    int updateByPostCodeAndDevCode(TInfoEfencePointEntity tInfoEfencePointEntity);
//    int updatePnByPostCode(TInfoEfencePointEntity tInfoEfencePointEntity);
    int updatePnByPostCode(String devId,String addr,String status);
    boolean removeBydevCode(String devCode);

}

